class Solution:
    def largestNumber(self, nums) -> str:
        nums = [str(x) for x in nums]
        nums.sort(reverse=True)
        return "".join(nums)


if __name__ == '__main__':
    so = Solution()
    s = [3,30,34,5,9]
    r = so.largestNumber(s)
    print(r)
